#pragma once
class GuiMain
{
public:
	GuiMain();
	~GuiMain();

	void InitWindow(char *layoutFile);

	std::function<void()> m_cb_ok_btn;
	void ShowTopText(char *text);
	void HideTopText();
	void SetText_position(POINT &cell);
	void SetCurrLife(int value);
	void SetCurrMana(int value);

private:
	CEGUI::Window *m_root;
	CEGUI::Window *m_text_top;
	CEGUI::Window *m_text_position;
	CEGUI::Window *m_text_life;
	CEGUI::Window *m_text_mana;
};

